SQLiteCipher
Encrypted SQLite (SQLCipher) driver for Kotlin/Native targets, backed by the Rust sqlx core via cinterop FFI. Provides connection pooling and transactional support in a coroutine-based environment.
sqlite::memory: | Open an in-memory database. sqlite:data.db | Open the file data.db in the current directory. sqlite://data.db | Open the file data.db in the current directory. sqlite:///data.db | Open the file data.db from the root (/) directory. sqlite://data.db?mode=ro | Open the file data.db for read-only access.
Parameters
The URL string for connecting to the SQLite database.
The SQLCipher passphrase, applied as PRAGMA key. Pass an empty string for an unencrypted database.
Configuration options for the connection pool.
Optional registry of value encoders to use for encoding query parameters.